Skip to content

Conversation

@harp-intel
Copy link
Contributor

This pull request updates the handling and naming of ELC (Energy Latency Control) modes throughout the codebase to improve clarity and consistency. The main change is renaming the "default" ELC mode to "power-optimized" and updating related logic, comments, and scripts accordingly. Additionally, the Makefile now fetches the bhs-power-mode.sh script directly from the upstream repository.

ELC mode renaming and logic updates:

  • Changed all references to the ELC mode "default" to "power-optimized" in option lists, comments, and logic, ensuring consistent terminology throughout the codebase. [1] [2] [3] [4] [5]

Build and tooling improvements:

  • Updated tools/Makefile to fetch bhs-power-mode.sh directly from the upstream PCM repository and adjusted the copy path to use the downloaded script instead of the one in the PCM submodule. [1] [2]

Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
@harp-intel harp-intel requested a review from Copilot January 21, 2026 22:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Energy Latency Control (ELC) mode naming from "default" to "power-optimized" throughout the codebase for improved clarity. It also updates the build system to fetch the bhs-power-mode.sh script directly from the upstream PCM repository instead of relying on the PCM submodule.

Changes:

  • Renamed ELC mode from "default" to "power-optimized" across all references
  • Updated Makefile to fetch bhs-power-mode.sh from upstream PCM repository
  • Updated comments and logic to reflect the new terminology

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tools/Makefile Added direct download of bhs-power-mode.sh from upstream PCM repository and updated copy path
internal/extract/power.go Changed "Default" mode string to "Power Optimized" in ELC detection logic
cmd/config/set.go Updated ELC mode argument from "default" to "optimized-power-mode"
cmd/config/restore.go Updated comment example from "Default" to "Power-Optimized"
cmd/config/flag_groups.go Updated valid ELC options from "default" to "power-optimized"

Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
…wer Optimized'

Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants